<template>
  <div>
    <el-container>
      <el-header style=" background: linear-gradient(135deg, #292a3a 20%, #536976);"><Header/></el-header>
      <el-container >
        <el-aside width="200px" style=" background: linear-gradient(#292a3a 40% ,#536976);" ><Aside/></el-aside>
        <el-main>
          <router-view> </router-view>
        </el-main>
      </el-container>
<!--      <el-footer><Footer/></el-footer>-->
    </el-container>
  </div>
</template>

<script>
import Header from "./Header";
import Main from "./Main";
import Footer from "./Footer";
import Aside from "./Aside.vue";
export default {
  name: 'Index',
  components:{
    Header,
    Main,
    Footer,
    Aside
  },
  props: {
    msg: String
  }
}
</script>
<style>

.el-header{
  background-color: #B3C0D1;
  color: #333;
  text-align: center;
  line-height: 10vh;
}

.el-aside {

  background-color: #D3DCE6;
  color: #333;
  text-align: center;
  line-height: 200px;
}

.el-main {
  background-color: #E9EEF3;
  color: #333;
  text-align: center;

}

body > .el-container {
  margin-bottom: 40px;
}

.container{
  position: absolute;
  top:0;
  left: 0;
  width: 100%;
  //height:100%;
}


</style>